package com.xbzl.cly_demo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//这是配置属性类 把application.yml中的 sky.jwt的属性封装到这个类中
@Component
@ConfigurationProperties(prefix = "cly.jwt")
@Data
public class JwtProperties {
    private String SecretKey;
    private long Ttl;
    private String TokenName;
}